<template>
    <view class="pm40">
        <view class="jjhhnjbgdf">
        	
        </view>
		<view class="pr pd pt30">
			<view class="pr">
				<icon  type="search" color="#999" class="sojjertt"></icon>
				<input type="text" value="" placeholder="如“车牌号、申请人姓名" class="fz30 kbhhdertt" />
			</view>
			
			<navigator  url="ApplicationDetails?type=11" class="mt30 dkjhbhert row" v-for="(sd,idx) in list" :key="idx">
				<view class="col">
					<view class="z9 fz22">
						{{sd.created_at}}
					</view>
					<view class="mt30 fz26 fz32">
						{{sd.license}}
						<text class="ml30 jserw">未审批</text>
					</view>
					<view class="mt20 fz26 z6">
						{{sd.begin_time}}-{{sd.end_time}}
					</view>
				</view>
				<uni-icons type="right" color="#999" size="20" class="jjhnjhjhdrt"></uni-icons>
			</navigator>
			
		</view>
    </view>
</template>
<script>
    export default {
        data() {
            return {
				gid:'',
				list:{}
			}
        },
        components: {},
        methods: {
			async dengljse() {
				let cs = {}
				cs.gid = this.gid
				// cs.type =
				let jhsd = await this.post("/api/group_car_apply/approval"  , cs)
				this.list = values.data
			}
		},
		onNavigationBarButtonTap() {
			uni.navigateTo({
				url:'screen'
			})
		},
		onLoad(options){
			this.gid = options.gid
			this.dengljse()
		},
        mounted() {}
    }

</script>
<style  scoped>
	.jjhhnjbgdf{
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background:#E8E8E8;
		z-index: 1;
	}
	.kbhhdertt{
		height:106upx;
		background:rgba(255,255,255,1);
		line-height: 106upx;
		padding-left: 120upx;
		border-radius:12upx;
	}
	.sojjertt{
		position: absolute;
		left: 36upx;
		top: 30upx;
	}
	.dkjhbhert{
		height:218upx;
		background:rgba(255,255,255,1);
		box-shadow:0px 6upx 12upx rgba(0,0,0,0.16);
		opacity:1;
		border-radius:12upx;
		padding: 20upx 30upx;
	}
	.jjhnjhjhdrt{
		margin-top: 70upx;
	}
	.jserw{
		color: #1BD5B9;
	}
</style>
